package mhl.service;


import mhl.DAO.employeeDao;
import mhl.domain.employee;

public class employeeService {
    private employeeDao employeedao =  new employeeDao();


    public employee getSingle(String empId,String pwd){
        String sql = "select * from employee where empId = ? and pwd = md5(?)";
        return employeedao.getSingle(sql, employee.class, empId, pwd);
    }



}
